package internal

import (
	"server/base"
	"server/g"

	"github.com/name5566/leaf/module"
)

var (
	skeleton = base.NewSkeleton()
	ChanRPC  = skeleton.ChanRPCServer
)

type Module struct {
	*module.Skeleton
}

func (m *Module) OnInit() {
	Load_Language()
	room = NewRoom()
	m.Skeleton = skeleton
	g.G1 = ChanRPC
}

func (m *Module) OnDestroy() {

}
